
#include "mainwindow.h"
#include "ui_mainwindow.h"

#include <QTabWidget>
#include <QVBoxLayout>
#include <qdebug.h>

MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

}

MainWindow::~MainWindow()
{

}

void MainWindow::onFlatpakrepoSelected(QString flatpakrepo)
{
    qDebug() << "flatpakrepo:" << flatpakrepo;
    ui->tabWidget->setCurrentIndex(1);
    ui->flatpakrepowidget->parserFlatpakrepoFile(flatpakrepo);
}
